package cn.tedu.boot.ers.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class UserUpdatePasswordDTO implements Serializable {
    @NotNull(message = "电话不能为空")
    @ApiModelProperty(value = "电话",name = "tel",example = "10009999")
    private String tel;
    @NotNull(message = "原密码不能为空")
    @ApiModelProperty(value = "原密码",name = "rawPassword",example = "10009999")
    private String rawPassword;
    @NotNull(message = "新密码不能为空")
    @ApiModelProperty(value = "新密码",name = "newPassword",example = "99999999")
    private String newPassword;
}
